import request from '@/utils/request'

//1. 学生列表
export function findStudents(data) {
  return request({
    url: '/student?cmd=list',
    method: 'get',
    data
  })
}

export function findByPage(page,pageSize) {
  return request({
    url: `/student?cmd=findByPage&page=${page}&pageSize=${pageSize}`,
    method: 'get',
  })

}

export function search(page,pageSize,data) {
return request({
  url: `/student?cmd=search&page=${page}&pageSize=${pageSize}`,
  method: 'get',
  data
})
}
